package com.san.hkhospital.mapper;

import com.san.hkhospital.entity.MedUse;
import com.san.hkhospital.entity.MedUseExample;

import java.util.List;

import com.san.hkhospital.vo.Search3;
import com.san.hkhospital.vo.meduseTableVO;
import org.apache.ibatis.annotations.Param;

/**
 * ClassName:MedUseMapper
 * PackageName:com.san.hkhospital.mapper
 * Description:
 *
 * @Author:yy
 * @CreatedAt:2024/11/13 19:26
 */


public interface MedUseMapper {
    long countByExample(MedUseExample example);

    int deleteByExample(MedUseExample example);

    int deleteByPrimaryKey(Integer muId);

    int insert(MedUse record);

    int insertSelective(MedUse record);

    List<MedUse> selectByExample(MedUseExample example);

    MedUse selectByPrimaryKey(Integer muId);

    int updateByExampleSelective(@Param("record") MedUse record, @Param("example") MedUseExample example);

    int updateByExample(@Param("record") MedUse record, @Param("example") MedUseExample example);

    int updateByPrimaryKeySelective(MedUse record);

    int updateByPrimaryKey(MedUse record);

    List<meduseTableVO> findAll();

    List<meduseTableVO> search(Search3 search3);
}